﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AppToolkit.WPF.Controls
{
    /// <summary>
    /// Interaction logic for VectorGraphicsButton.xaml
    /// </summary>
    public partial class VectorGraphicsButton : UserControl
    {
        /// <summary>
        /// public ctor
        /// </summary>
        public VectorGraphicsButton()
        {
            InitializeComponent();
        }

        /// <summary>
        /// The <see cref="VectorSource" /> dependency property's name.
        /// </summary>
        public const string VectorSourcePropertyName = "VectorSource";

        /// <summary>
        /// Gets or sets the value of the <see cref="VectorSource" />
        /// property. This is a dependency property.
        /// </summary>
        public Path VectorSource
        {
            get
            {
                return (Path)GetValue(MyPropertyProperty);
            }
            set
            {
                SetValue(MyPropertyProperty, value);
            }
        }

        /// <summary>
        /// Identifies the <see cref="VectorSource" /> dependency property.
        /// </summary>
        public static readonly DependencyProperty MyPropertyProperty = DependencyProperty.Register(
            VectorSourcePropertyName,
            typeof(Path),
            typeof(VectorGraphicsButton),
            new UIPropertyMetadata(null));
    }
}
